package com.atguigu.edu2021.mock.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author zhangchen
 * @since 2021-09-15
 */
@Data
public class BaseProvince implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
      private Long id;

    /**
     * 省名称
     */
    private String name;

    /**
     * 大区id
     */
    private String regionId;

    /**
     * 行政区位码
     */
    private String areaCode;

    /**
     * 国际编码
     */
    private String isoCode;

    /**
     * ISO3166编码
     */
    @TableField(value = "iso_3166_2")
    private String iso31662;



    @Override
    public String toString() {
        return "BaseProvince{" +
        "id=" + id +
        ", name=" + name +
        ", regionId=" + regionId +
        ", areaCode=" + areaCode +
        ", isoCode=" + isoCode +
        ", iso31662=" + iso31662 +
        "}";
    }
}
